package com.cskt.beyondplatform.pojo;

/**
 * 查询app条件实体类
 *
 * @author admin
 **/

public class QueryAppInfoParam {
    
    private Integer pageIndex=1;
    private Integer pageSize=5;
    private Integer startIndex=0;
    
    private String querySoftwareName;
    private Long queryFlatformId;
    private Integer queryCategoryLevel1;
    private Integer queryCategoryLevel2;
    private Integer queryCategoryLevel3;

    public Integer getPageIndex() {
        return pageIndex;
    }

    public void setPageIndex(Integer pageIndex) {
        this.pageIndex = pageIndex;
    //    同步计算当前页的起始下标
        this.startIndex = (pageIndex - 1) * this.pageSize;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getStartIndex() {
        return startIndex;
    }

    public void setStartIndex(Integer startIndex) {
        this.startIndex = startIndex;
    }

    public String getQuerySoftwareName() {
        return querySoftwareName;
    }

    public void setQuerySoftwareName(String querySoftwareName) {
        this.querySoftwareName = querySoftwareName;
    }

    public Long getQueryFlatformId() {
        return queryFlatformId;
    }

    public void setQueryFlatformId(Long queryFlatformId) {
        this.queryFlatformId = queryFlatformId;
    }

    public Integer getQueryCategoryLevel1() {
        return queryCategoryLevel1;
    }

    public void setQueryCategoryLevel1(Integer queryCategoryLevel1) {
        this.queryCategoryLevel1 = queryCategoryLevel1;
    }

    public Integer getQueryCategoryLevel2() {
        return queryCategoryLevel2;
    }

    public void setQueryCategoryLevel2(Integer queryCategoryLevel2) {
        this.queryCategoryLevel2 = queryCategoryLevel2;
    }

    public Integer getQueryCategoryLevel3() {
        return queryCategoryLevel3;
    }

    public void setQueryCategoryLevel3(Integer queryCategoryLevel3) {
        this.queryCategoryLevel3 = queryCategoryLevel3;
    }
}
